package pattern.decorator;

public class DoMain {
	public static void main(String[] args) {
		/*这样相当于在不改变Source的前提下 改变了m1方法*/
		Itf itf = new Source();  
		Decorator decorator = new Decorator(itf);
		decorator.m1();


	}
}
